﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MongoDB.Bson;

namespace MongoCamp.UnitTest
{
    public class MockByInt : EntityCollection<int, MockByInt>
    {
        public int MockId
        {
            get { return GetPrimaryKeyID(); }
            set { SetPrimaryKeyID(value); }
        }
        public DateTime CreatedOn { get; set; }
    }

    public class MockByString : EntityCollection<string, MockByString>
    {
        public string MockId
        {
            get { return GetPrimaryKeyID(); }
            set { SetPrimaryKeyID(value); }
        }
        public DateTime CreatedOn { get; set; }
    }

    public class MockByObjectId : EntityCollection<ObjectId, MockByObjectId>
    {
        public ObjectId MockId
        {
            get { return GetPrimaryKeyID(); }
            set { SetPrimaryKeyID(value); }
        }
        public DateTime CreatedOn { get; set; }
    }
}
